<%@ page language="java" pageEncoding="utf-8" import="java.util.*"%>
<c:if test="${searchMethod == null }"><c:set var="searchMethod" value="search"/></c:if>
 		<a href="?method:${searchMethod}&pageSize=${pagination.pageSize}&pageNo=1&${conditionStr}">
 			<font style='font-size:12px !important'>首页</font>
 		</a>
 		<c:if test="${ pagination.pageNo > 1}">
	 		<a style='font-size:12px !important; font-family: webdings;' href="?method:${searchMethod}&pageSize=${pagination.pageSize}&pageNo=${pagination.pageNo-1}&${conditionStr}">
	 			7
	 		</a>
 		</c:if>
	 	<c:set var="pageBegin" value="${pagination.pageNo-2}"/>
	 	<c:if test="${pageBegin < 1}"><c:set var="pageBegin" value="1"/></c:if>
	 	<c:set var="pageEnd" value="${pagination.pageNo+2}"/>
	 	<c:if test="${pageEnd > pagination.pageCount}"><c:set var="pageEnd" value="${pagination.pageCount}"/></c:if>
	 	<c:forEach begin="${pageBegin}" end="${pageEnd}" varStatus="status">
	 		<a href="?method:${searchMethod}&pageSize=${pagination.pageSize}&pageNo=${status.index}&${conditionStr}">
				<c:if test="${status.index == pagination.pageNo}"><font style='font-size:15px !important;color: #FF6400; border:1px solid #CCCCCC; padding: 0.5px'>${status.index}</font></c:if>
	 			<c:if test="${status.index != pagination.pageNo}"><font style='font-size:12px !important'>${status.index}</font></c:if>
	 		</a>
	 	</c:forEach>
	  	<c:if test="${ pagination.pageNo < pagination.pageCount}">
	 		<a style='font-size:12px !important; font-family: webdings;' href="?method:${searchMethod}&pageSize=${pagination.pageSize}&pageNo=${pagination.pageNo+1}&${conditionStr}">
	 			8
	 		</a>
	 	</c:if>
		<a href="?method:${searchMethod}&pageSize=${pagination.pageSize}&pageNo=${pagination.pageCount}&${conditionStr}">
			<font style='font-size:12px !important'>末页</font>
		</a>
		<span>总记录: <c:out value="${pagination.totalCount}" /></span>
		<span>每页记录: <input type="text" size="2" id="pageSize" name="pageSize" value="${pagination.pageSize}" style=" "></span>
		<span>总页数: <c:out value="${pagination.pageCount}" /></span>
		<span>当前页: <input type="text" id="jumpToPageNo"  style="" value="${pagination.currentPage}" onkeydown="this.onkeyup();" onkeyup="this.size=(this.value.length>1?this.value.length:1);" size="1"/>
		</span><a href="#" style="margin-left:5px;font-size:14px" onclick="paginationJump();return false;">go</a>
 	<script type="text/javascript">
 	function paginationJump(){
		 var locationStr = "?method:${searchMethod}&pageSize="+document.getElementById("pageSize").value+"&pageNo="+document.getElementById("jumpToPageNo").value+"&${conditionStr}";
		window.location=locationStr;
 	}
 	</script>